using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace QuaLyHocSinh
{
    class ProcessError
    {
        public static void SaveErr(string pathFileName,string[] arrStrErr)
        {
            StreamWriter wr = new StreamWriter(pathFileName,true,Encoding.Unicode);
            wr.WriteLine("-----"+DateTime.Now.ToLongDateString()+"  "+DateTime.Now.ToLongTimeString()+"-----");
            for (int i = 0; i < arrStrErr.Length; i++)
                wr.WriteLine(arrStrErr[i]);             
            wr.WriteLine("");
            wr.Close();
        }
    }
}
